package com.zusmart.base.activity;

import com.zusmart.base.logging.Logger;
import com.zusmart.base.logging.LoggerFactory;

public abstract class ActivityUtils {

	private static final Logger logger = LoggerFactory.getLogger(ActivityUtils.class);

	public static void close(Activity<?> activity) {
		if (null != activity) {
			try {
				activity.close();
			} catch (Exception e) {
				logger.error(e.getMessage(), e);
			}
		}
	}

}